import React, { Component } from 'react'
import {withRouter} from 'react-router-dom'
import './searchInput.scss';
class SearchInput extends Component {
    handleSearch=(params) => {
        this.props.history.push("/searchCenter")
    }
    
    render() {
        return (
            <div className="search-input" onClick={this.handleSearch}>
                <div className="search-input-content">
                    搜索
                </div>
            </div>
        )
    }
}
export default withRouter(SearchInput)
